package com.sharemedia.interfaces
{
	import com.sharemedia.managers.TrackList;
	import com.sharemedia.vos.Track;
	
	import flash.events.IEventDispatcher;
	
	import mx.collections.ArrayList;

	public interface IAudioManager extends IEventDispatcher
	{
		function init(streamName:String):void;
		function get trackList():TrackList;
		function play(track:Track=null):void;
		function pause():void;
		function nextTrack():void;
		function prevTrack():void;
		function like():void;
		function unlike():void;
		function get currentTrack():Track;
		function set volume(value:Number):void;
		function get volume():Number;
		function get connected():Boolean;
		function get serverName():String;
		function isPlaying():Boolean;
		function get bufferSize():Number;
		function set bufferSize(value:Number):void;
		function get shuffle():Boolean;
		function set shuffle(value:Boolean):void;
		function get prompt():ArrayList;
		function set prompt(value:ArrayList):void;
		function offer(uid:String):void;
	}
}